package com.zhengke.controller.ddgl;

import java.text.SimpleDateFormat;
import java.util.Calendar;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

import com.alipay.api.AlipayApiException;
import com.alipay.api.AlipayClient;
import com.alipay.api.DefaultAlipayClient;
import com.alipay.api.request.AlipayTradePagePayRequest;


@Controller
@RequestMapping("alipay")
public class AlipayController {
	
	//请求的路径信息的设置
	@RequestMapping("/gotoSuccess.do")
	public  String gotoSuccess() {
		return "/paypages/success";
	}
	
	@RequestMapping("/gotoNotify.do")
	public String gotoNotify() {
		return "/paypages/notify";
	}

}
